<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="style/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
    	body{
	    	padding-top:70px;
	    	padding-left:70px;
	    	background-image:url(img/ab.png);
    	}
      </style>
</head>
<body class="body">
		<%@ include file="top.jsp" %>
		<%@ include file="leftlabel.jsp" %>
		<div class="span9">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					<a href="filetype.action"><i class="icon-th"></i>文件列表</a>
				</li>
				<li class="pull-right"><i class="icon-plus"></i><a href="createfiletype.action" class="link-black">创建文件夹</a></li>
			</ul>
			<div class="wall">
				<table class="table table-striped">
					<thead>
						<tr>
							<th width="10px"></th>
							<th width="40%">名称</th>
							<th width="20%">大小</th>
							<th width="20%">创建人</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${filetypelist}" var="filetype">
						<tr>
							<td>
								<img src="img/folder.png"/>
							</td>
							<td><a href="files.action?id=${filetype.id}">${filetype.name}</a></td>
							<td>${filetype.countnum}个file${filetype.sumsize}MB</td>
							<td>${filetype.user.username}</td>
							<td><a href="delfiletype.action?id=${filetype.id}" class="link-black" title="删除该文件夹"><i class="icon-trash"></i></a></td>
						</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
		</div>
	  </div>
	</div>
</body>
</html>